﻿@model BadmintonBuddy.Models.Club

@{
    ViewBag.Title = Model.ClubName + ", Badminton Clubs in " + @ViewData["CityName"];
}

<h2>@Html.DisplayFor(model => model.ClubName)</h2>

<fieldset>
    <legend>Club</legend>

    

    
    <div class="display-field">
        @Html.DisplayFor(model => model.Address)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.AdditionalInfo)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.AdditionalInfo)
    </div>   
        
    <div class="display-field">
        <a href="@Html.Raw(Model.MapLink)"><img src="@Html.Raw(Model.MapImgURL)" /></a>
    </div>

    <div class="display-label">
         Surface
    </div>
    <div class="display-field">
        @ViewData["Surface"]
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.Fees)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Fees)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.Timings)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Timings)
    </div>     

    @Html.HiddenFor(model => model.ClubID)
    @Html.HiddenFor(model => model.CityID)
</fieldset>
<p>
    @Html.ActionLink("Play here", "UserClub", "User", new { clubID = Model.ClubID, status = 1 }, null)
    @Html.ActionLink("Played here", "UserClub", "User", new { clubID = Model.ClubID, status = 2 }, null)
    @Html.ActionLink("Looking for Partner", "UserClub", "User", new { clubID = Model.ClubID, status = 3 }, null)
</p>
<div id="OtherClubs">

</div>
<div id="Players">
    @* Module to display players who play here/played here etc*@
</div>

@*<a href="~/clubs/@Model.City.CityName"> All clubs in @Model.City.CityName</a>*@
